<php>
$is_mulit = $is_mulit ? 1 : 0;
$label_name = $label_name ? $label_name : '用户';
</php>
<div class="mod_data">
	<div class="name">{$label_name}</div>
	<div class="input_data">
		<span class="btn3 win select_user" href="{:URL('win_select_user',array('is_mulit'=>$is_mulit))}?user_type=teacher" old-url="{:URL('win_select_user',array('is_mulit'=>$is_mulit))}" title="选择用户">选择用户</span>
		<div class="city_id_list" style="width:700px;">
			
		</div>
	</div>
</div>

<script type="text/javascript">
$(document).ready(function(){
	$("select[name='user_type']").bind('change',function(){
		old_url = $('.select_user').attr('old-url');
		user_type = $(this).val();
		$('.select_user').attr('href',old_url+'?user_type='+user_type);
		$('.city_id_list').html('');
	});
	$('.city_id_list li span').live('click',function () {
		$(this).parent().remove();
	});
});
</script>